$list: ("name":'FF9900', "color":#FF9900),
("name":'336699', "color":#336699),
("name":'33CC99', "color":#33CC99),
("name":'0099CC', "color":#0099CC),
("name":'FF6666', "color":#FF6666),
("name":'666699', "color":#666699),
("name":'99CCFF', "color":#99CCFF),
("name":'CCFFFF', "color":#CCFFFF),
("name":'coral', "color":coral),
("name":'CCFF99', "color":#CCFF99);
@each $item in $list {
  .co-C#{map_get($item,"name")} {
    color: #{map_get($item,"color")}
  }
  .bg-C#{map_get($item,"name")} {
    background-color: #{map_get($item,"color")};
  }
}

@media screen and (max-device-width: 500px) {
  body {
    padding: 0;
    margin: 0;
    background-color: gainsboro;
  }
  .up {
    position: fixed;
    bottom: 50px;
    float: right;
    right: 10%;
    z-index: 999;
    color: #33CC99;
  }
  .container {
    > .slider-bar {
      position: absolute;
      margin-left: 30%;
      margin-top: 10em;

      > .head {
        border-radius: 50%;
        transform: translateX(-50%);
      }

      > .slider-bar-list {
        display: none;

        > p {
          //color: white;
          text-align: center;
        }
      }
    }

  }
  .home-notice {
    height: 100%;
    background-image: url("../img/8DdTQgoJFit7NXn.jpg");
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    //background-color: rgba(0,0,0,.5);
  }
  .content-main {
    z-index: 1;
    //height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;

    > .content-main-list {
      max-width: 320px;
      background-color: white;
      padding: 20px;
      border-radius: 14px;
      min-height: 260px;

      > .list-title {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;

        > :hover {
          cursor: pointer;
        }

        > span {
          font-size: 0.5em;
        }
      }

      > .list-body {
        > p {
          overflow: auto;
          scroll-behavior: smooth;
          scroll-padding: 0;
          white-space: normal;
          text-overflow: ellipsis;
        }

      }

      > p {
        margin: 0;
      }
    }
  }
  .body-main {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;

    > .category-main {
      display: none;
      background-color: whitesmoke;

      > .category-main-list {
        list-style: none;

        > li {
          margin-bottom: 15px;
          font-size: 1.5em;
          font-weight: bold;
        }
      }
    }
  }
  .is_continue {
    border: none;
    color: white;
    letter-spacing: 0.6px;
    -webkit-font-smoothing: subpixel-antialiased;
    background-color: #5cb85c;
    vertical-align: middle;
    touch-action: manipulation;
    font-weight: bold;
    background-image: none;
    height: 40px;
    width: 150px;
    border-radius: 14px;
    margin-bottom: 100px;
    cursor: pointer;
  }
}

@media screen and (min-device-width: 500px) {
  body {
    margin: 0;
    padding: 0;
    //height: 100%;
    width: 100%;
    background-color: gainsboro;
  }
  .up {
    position: fixed;
    bottom: 50px;
    float: right;
    right: 10%;
    z-index: 999;
  }
  .container {
    position: relative;
    //height: 100%;
    width: 100%;

    > .slider-bar {
      position: fixed;
      left: 0;
      z-index: 9;
      bottom: 0;
      width: 8em;
      height: 100%;
      background-color: rgba(0, 0, 0, .8);

      > .head {
        border-radius: 50%;
        margin-left: 50%;
        transform: translateX(-50%);
        margin-top: 5em;
      }

      > .slider-bar-list {
        > p {
          //color: white;
          text-align: center;
        }
      }
    }

  }
  .home-notice {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    //background-color: rgba(0,0,0,.5);
  }
  .content-main {
    position: relative;
    z-index: 1;
    margin-left: 0;
    //height: 100%;
    width: 900px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    margin-right: -300px;

    > .content-main-list {
      background-color: white;
      padding: 20px;
      width: 100%;
      border-radius: 14px;
      min-height: 260px;
      max-height: 600px;
      overflow-y: scroll;
      > .list-title {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;

        > :hover {
          cursor: pointer;
        }

        > span {
          font-size: 0.5em;
        }
      }

      > .list-body {
        > p {
          width: 100%;
          overflow: auto;
          scroll-behavior: smooth;
          scroll-padding: 0;
          white-space: normal;
          text-overflow: ellipsis;
        }

      }

      > p {
        margin: 0;
      }
    }
  }
  .body-main {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;

    > .category-main {
      //background-color: whitesmoke;
      width: 200px;
      border-radius: 14px;
      //height: 300px;
      min-height: 300px;
      margin-left: -300px;

      > .category-main-list {
        list-style: none;

        > li {
          margin-bottom: 15px;
          font-size: 1.5em;
          font-weight: bold;
        }
      }
    }
  }
  .is_continue {
    border: none;
    color: white;
    letter-spacing: 0.6px;
    -webkit-font-smoothing: subpixel-antialiased;
    background-color: #5cb85c;
    vertical-align: middle;
    touch-action: manipulation;
    font-weight: bold;
    background-image: none;
    height: 40px;
    width: 150px;
    border-radius: 14px;
    margin-bottom: 100px;
    cursor: pointer;
  }
}

